﻿--ref : sql的锁 http://www.sqlteam.com/article/introduction-to-locking-in-sql-server